package com.bycx.system.service.impl;
import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bycx.core.service.BaseService;
import com.bycx.system.mapper.ASysRoleUserMapper;
import com.bycx.system.model.ASysRoleUser;
import com.bycx.system.service.IASysRoleUserService;

@Service
public class ASysRoleUserServiceImpl implements IASysRoleUserService{
	@Autowired
	private ASysRoleUserMapper aSysRoleUserMapper;

	@Override
	public ASysRoleUser get(Map<String,Object> map){
		//aSysRoleUserMapper.get(map);用mybatis对其中一个数据源进行查询
		return null;
	}
	@Override
	public List<ASysRoleUser> getList(Map<String,Object> map){
		return aSysRoleUserMapper.getList(map);
	}
	
	
	@Override
	public List<ASysRoleUser> findRolesByUserId(String userId) {
		Map<String, Object> map = new HashMap<String, Object>();
		map.put("userId", userId);
		return aSysRoleUserMapper.getList(map);
	}
	@Override
	public void setBaseMapper() {
		// TODO Auto-generated method stub
		
	}
	@Override
	public ASysRoleUser getByPrimaryKey(Serializable primaryKey) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public ASysRoleUser get(String propName, String value) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public List<ASysRoleUser> getList(String propName, String value) {
		// TODO Auto-generated method stub
		return null;
	}
	@Override
	public void save(ASysRoleUser t) {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void updateByPrimaryKey(ASysRoleUser t) {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void deleteByPrimaryKey(Serializable primaryKey) {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void delete(List<String> ids) {
		// TODO Auto-generated method stub
		
	}
	@Override
	public void deleteObj(List<ASysRoleUser> list) {
		// TODO Auto-generated method stub
		
	}
}

